<?php
namespace App\Service\Third;

use App\Constants\ErrorCode;
use App\Service\BaseService;

/**
 * 分享链接重定向
 */
class ShareLinkService extends BaseService
{
    public function handle()
    {
	$params = $this->request->all();	    
	$realUrl = 'https://web.mei1319.com/xinmi/register.html?invitecode='. $params['invitecode'] . '&appid=' . $params['appid'];
	//header("Location: ". $realUrl);
	//exit;
	return $realUrl;
	//return $params;
    }
 
}
